/**
 * status:1 禁用素材接口 添加/上传/修改/删除
 */
module.exports = async (req, res, next) => {
    let _client = await $client._get(req.headers['x-access-token']);
    if(_client.status == 1) {
        res.status(400).send({
            code: 400,
            msg: '没有操作权限.'
        })
        return;
    }
    next();
}